package com.ruoyi.common.utils.hangxin;

public class ChineseTypeToEnglishUtil {
    /**
     * 企业类型转换
     * @param chineseName
     * @return
     */
    public static String getCusType(String chineseName){
        switch (chineseName){
            case "一般纳税人":
                return "1";
            case "小规模":
                return "2";
            case "个体工商户":
                return "3";
            case "个人独资企业":
                return "4";
            default:
                return "1";
        }
    }

    /**
     * 申报方式
     * @param chineseName
     * @return
     */
    public static String getReportWay(String chineseName){
        //申报方式(0=月报，1=季报)
        switch (chineseName){
            case "月报":
                return "0";
            default:
                return "1";
        }
    }

}
